#!/usr/bin/python

from system.core.base_service import BaseService

class TimerService(BaseService):

    def __init__(self, arguments = None):
        super(TimerService, self).__init__()
        self.load_model("videos.videos.Videos")
        self.load_library("libcurl.LibCurl")
        return

    def invoke(self):
        self.log_info("run timer service")
        self.videos_model.add()
        self.libcurl.remote_call()
        return
